<!DOCTYPE HTML>
<html lang="zh">
<head>
<title>Apache FreeMarker 中文手册 - Apache FreeMarker 2.3.28 Manual | Docs4dev</title>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="Apache FreeMarker™是一个模板引擎：一个Java库，用于根据模板和数据生成文本输出（HTML网页，电子邮件，配置文件，源代码等）。">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta property="og:type" content="website">
<meta property="og:title" content="Apache FreeMarker 中文手册 - Apache FreeMarker 2.3.28 Manual">
<meta property="og:url" content="https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/">
<meta property="og:site_name" content="Docs4dev">
<meta property="og:locale" content="zh_CN">
<meta name="twitter:card" content="Apache FreeMarker™是一个模板引擎：一个Java库，用于根据模板和数据生成文本输出（HTML网页，电子邮件，配置文件，源代码等）。">
<meta name="generator" content="Docs4dev template engine">
<link rel="stylesheet" href="static/css/app.min.css">
<link rel="shortcut icon" href="https://www.docs4dev.com/static/images/favicon.ico" type="image/x-icon">
<script async="" src="static/js/js.js"></script>
<script async="" src="static/js/adsbygoogle.js" crossorigin="anonymous"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
      dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'UA-129571937-1');
  </script>
<link rel="amphtml" href="https://www.docs4dev.com/amp/docs/zh/freemarker/2.3.28/reference/index.html">
<link rel="next" href="https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui.html">

<script type="application/ld+json">{"name":null,"headline":"Apache FreeMarker 中文手册-Apache FreeMarker 2.3.28 Manual","inLanguage":"zh-CN","version":"2.3.28","image":"/static/icon/icon-freemarker.png","datePublished":"2021-05-20T12:51:02Z","dateCreated":"2021-05-20T12:51:02Z","dateModified":"2021-07-07T13:23:21Z","@context":"https://schema.org/","@type":"APIReference","abstract":"Apache FreeMarker™是一个模板引擎：一个Java库，用于根据模板和数据生成文本输出（HTML网页，电子邮件，配置文件，源代码等）。"}</script>
</head>
<body>
<div class="book with-summary">
<div class="book-summary">
<div class="logo">
<a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference');" style="color: inherit;">
<img src="static/picture/icon-freemarker.png" style="width: 48px; height: 48px;" alt="Logo">
</a>
<b style="color: inherit; margin-left: 8px;">Apache FreeMarker 中文手册</b>
</div>
<div class="item">
<div>
<label for="version">版本</label>
<select id="version" onchange="onVersionChange(this)">
<option value="2.3.28" selected="selected">2.3.28</option>
</select>
</div>
<div style="margin-top: 8px;">
<label for="language">语言</label>
<select id="language" onchange="onLangChange(this)" value="zh">
<option value="en">English</option>
<option value="zh" selected="selected">中文</option>
</select>
</div>

</div>
<div class="item menus">
<a title="Table of Contents" style="margin-right: 8px;" href="#">
<i class="fa fa-chevron-left"></i>
<span style="margin-left: 2px;">返回目录</span>
</a>
</div>
<nav role="navigation" id="navigation">
<ul class="summary">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui.html');" title="模板作者指南"> 模板作者指南 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart.html');" title="Getting Started"> Getting Started </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart_basics.html');" title="模板数据模型=输出"> 模板数据模型=输出 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart_datamodel.html');" title="数据模型一目了然"> 数据模型一目了然 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart_template.html');" title="模板一览"> 模板一览 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_datamodel.html');" title="Values, Types"> Values, Types </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_datamodel_basics.html');" title="Basics"> Basics </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_datamodel_types.html');" title="The types"> The types </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template.html');" title="The Template"> The Template </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_overallstructure.html');" title="Overall structure"> Overall structure </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_directives.html');" title="Directives"> Directives </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_exp.html');" title="Expressions"> Expressions </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_valueinsertion.html');" title="Interpolations"> Interpolations </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc.html');" title="Miscellaneous"> Miscellaneous </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_userdefdir.html');" title="定义自己的指令"> 定义自己的指令 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_var.html');" title="在模板中定义变量"> 在模板中定义变量 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_namespace.html');" title="Namespaces"> Namespaces </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_autoescaping.html');" title="自动转义和输出格式"> 自动转义和输出格式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_whitespace.html');" title="White-space handling"> White-space handling </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_alternativesyntax.html');" title="替代(方括号)语法"> 替代(方括号)语法 </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui.html');" title="Programmer's Guide"> Programmer's Guide </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart.html');" title="Getting Started"> Getting Started </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_createconfiguration.html');" title="创建配置实例"> 创建配置实例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_createdatamodel.html');" title="创建一个数据模型"> 创建一个数据模型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_gettemplate.html');" title="获取模板"> 获取模板 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_merge.html');" title="将模板与数据模型合并"> 将模板与数据模型合并 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_all.html');" title="放在一起"> 放在一起 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel.html');" title="数据模型"> 数据模型 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_basics.html');" title="Basics"> Basics </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_scalar.html');" title="Scalars"> Scalars </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_parent.html');" title="Containers"> Containers </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_method.html');" title="Methods"> Methods </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_directive.html');" title="Directives"> Directives </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_node.html');" title="Node variables"> Node variables </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_objectWrapper.html');" title="Object wrappers"> Object wrappers </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config.html');" title="The Configuration"> The Configuration </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_basics.html');" title="Basics"> Basics </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_sharedvariables.html');" title="Shared variables"> Shared variables </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_settings.html');" title="Settings"> Settings </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_templateloading.html');" title="Template loading"> Template loading </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_errorhandling.html');" title="Error handling"> Error handling </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_templateconfigurations.html');" title="Template configurations"> Template configurations </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_outputformatsautoesc.html');" title="将输出格式与模板相关联"> 将输出格式与模板相关联 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_custom_formats.html');" title="自定义数字和日期/时间格式"> 自定义数字和日期/时间格式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_incompatible_improvements.html');" title="“不兼容的改进”设置"> “不兼容的改进”设置 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc.html');" title="Miscellaneous"> Miscellaneous </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_var.html');" title="Variables, scopes"> Variables, scopes </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_charset.html');" title="Charset issues"> Charset issues </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_multithreading.html');" title="Multithreading"> Multithreading </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_beanwrapper.html');" title="Bean wrapper"> Bean wrapper </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_logging.html');" title="Logging"> Logging </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_servlet.html');" title="将 FreeMarker 与 Servlet 一起使用"> 将 FreeMarker 与 Servlet 一起使用 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_secureenv.html');" title="为 FreeMarker 配置安全策略"> 为 FreeMarker 配置安全策略 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_xml_legacy.html');" title="旧版 XML 包装器实施"> 旧版 XML 包装器实施 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_ant.html');" title="将 FreeMarker 与 Ant 结合使用"> 将 FreeMarker 与 Ant 结合使用 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_jythonwrapper.html');" title="Jython wrapper"> Jython wrapper </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref.html');" title="模板语言参考"> 模板语言参考 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins.html');" title="Built-in Reference"> Built-in Reference </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_alphaidx.html');" title="Alphabetical index"> Alphabetical index </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_string.html');" title="内置字符串"> 内置字符串 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_number.html');" title="内置数字"> 内置数字 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_date.html');" title="内置日期/时间/日期时间值"> 内置日期/时间/日期时间值 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_boolean.html');" title="布尔值的内置"> 布尔值的内置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_sequence.html');" title="内置序列"> 内置序列 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_hash.html');" title="内置散列"> 内置散列 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_node.html');" title="内置节点(对于 XML)"> 内置节点(对于 XML) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_loop_var.html');" title="内置循环变量"> 内置循环变量 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_type_independent.html');" title="类型独立的内置"> 类型独立的内置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_expert.html');" title="很少使用且内置 maven"> 很少使用且内置 maven </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directives.html');" title="Directive Reference"> Directive Reference </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_alphaidx.html');" title="Alphabetical index"> Alphabetical index </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_assign.html');" title="assign"> assign </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_attempt.html');" title="attempt, recover"> attempt, recover </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_autoesc.html');" title="autoesc"> autoesc </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_compress.html');" title="compress"> compress </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_escape.html');" title="逃逸，不逃逸(已弃用)"> 逃逸，不逃逸(已弃用) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_flush.html');" title="flush"> flush </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_ftl.html');" title="ftl"> ftl </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_function.html');" title="function, return"> function, return </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_global.html');" title="global"> global </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_if.html');" title="如果，否则，否则"> 如果，否则，否则 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_import.html');" title="import"> import </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_include.html');" title="include"> include </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_list.html');" title="列出，否则，项目，sep，中断，continue"> 列出，否则，项目，sep，中断，continue </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_local.html');" title="local"> local </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_macro.html');" title="宏，嵌套，返回"> 宏，嵌套，返回 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_noautoesc.html');" title="noautoesc"> noautoesc </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_noparse.html');" title="noparse"> noparse </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_nt.html');" title="nt"> nt </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_outputformat.html');" title="outputformat"> outputformat </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_setting.html');" title="setting"> setting </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_stop.html');" title="stop"> stop </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_switch.html');" title="开关，大小写，默认，中断"> 开关，大小写，默认，中断 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_t.html');" title="t，lt，rt"> t，lt，rt </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_userDefined.html');" title="用户定义的指令(<@...>)"> 用户定义的指令(&lt;@...&gt;) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_visit.html');" title="访问，递归，后备"> 访问，递归，后备 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_specvar.html');" title="特殊变量参考"> 特殊变量参考 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_reservednames.html');" title="FTL 中的保留名称"> FTL 中的保留名称 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_deprecated.html');" title="不建议使用的 FTL 构造"> 不建议使用的 FTL 构造 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_directive.html');" title="不推荐使用的指令列表"> 不推荐使用的指令列表 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_builtin.html');" title="不推荐使用的内置列表"> 不推荐使用的内置列表 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_oldmacro.html');" title="旧式宏和调用指令"> 旧式宏和调用指令 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_transform.html');" title="Transform directive"> Transform directive </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_oldsyntax.html');" title="旧的 FTL 语法"> 旧的 FTL 语法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_numerical_interpolation.html');" title="#{...}：数值插补"> #{...}：数值插补 </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui.html');" title="XML 处理指南"> XML 处理指南 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_preface.html');" title="Preface"> Preface </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_expose.html');" title="公开 XML 文档"> 公开 XML 文档 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_expose_dom.html');" title="DOM 树"> DOM 树 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_expose_put.html');" title="将 XML 放入数据模型"> 将 XML 放入数据模型 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_imperative.html');" title="命令式 XML 处理"> 命令式 XML 处理 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_imperative_learn.html');" title="Basics"> Basics </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_imperative_formal.html');" title="Details"> Details </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_declarative.html');" title="声明式 XML 处理"> 声明式 XML 处理 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_declarative_basics.html');" title="Basics"> Basics </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_declarative_details.html');" title="Details"> Details </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app.html');" title="Appendixes"> Appendixes </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_faq.html');" title="FAQ"> FAQ </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_versions.html');" title="Version history"> Version history </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_30.html');" title="2.3.30"> 2.3.30 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_29.html');" title="2.3.29"> 2.3.29 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_28.html');" title="2.3.28"> 2.3.28 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_27.html');" title="2.3.27 (在 Apache 孵化)"> 2.3.27 (在 Apache 孵化) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_26.html');" title="2.3.26 (在 Apache 孵化)"> 2.3.26 (在 Apache 孵化) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_25.html');" title="2.3.25 (在 Apache 孵化)"> 2.3.25 (在 Apache 孵化) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_24.html');" title="2.3.24 (在 Apache 孵化)"> 2.3.24 (在 Apache 孵化) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_23.html');" title="2.3.23"> 2.3.23 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_22.html');" title="2.3.22"> 2.3.22 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_21.html');" title="2.3.21"> 2.3.21 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_20.html');" title="2.3.20"> 2.3.20 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_19.html');" title="2.3.19"> 2.3.19 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_18.html');" title="2.3.18"> 2.3.18 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_17.html');" title="2.3.17"> 2.3.17 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_16.html');" title="2.3.16"> 2.3.16 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_15.html');" title="2.3.15"> 2.3.15 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_14.html');" title="2.3.14"> 2.3.14 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_13.html');" title="2.3.13"> 2.3.13 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_12.html');" title="2.3.12"> 2.3.12 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_11.html');" title="2.3.11"> 2.3.11 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_10.html');" title="2.3.10"> 2.3.10 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_9.html');" title="2.3.9"> 2.3.9 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_8.html');" title="2.3.8"> 2.3.8 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_7.html');" title="2.3.7"> 2.3.7 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_7rc1.html');" title="2.3.7 RC1"> 2.3.7 RC1 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_6.html');" title="2.3.6"> 2.3.6 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_5.html');" title="2.3.5"> 2.3.5 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_4.html');" title="2.3.4"> 2.3.4 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_3.html');" title="2.3.3"> 2.3.3 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_2.html');" title="2.3.2"> 2.3.2 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_1.html');" title="2.3.1"> 2.3.1 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3.html');" title="2.3"> 2.3 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_8.html');" title="2.2.8"> 2.2.8 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_7.html');" title="2.2.7"> 2.2.7 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_6.html');" title="2.2.6"> 2.2.6 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_5.html');" title="2.2.5"> 2.2.5 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_4.html');" title="2.2.4"> 2.2.4 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_3.html');" title="2.2.3"> 2.2.3 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_2.html');" title="2.2.2"> 2.2.2 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_1.html');" title="2.2.1"> 2.2.1 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2.html');" title="2.2"> 2.2 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_5.html');" title="2.1.5"> 2.1.5 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_4.html');" title="2.1.4"> 2.1.4 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_3.html');" title="2.1.3"> 2.1.3 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_2.html');" title="2.1.2"> 2.1.2 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_1.html');" title="2.1.1"> 2.1.1 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1.html');" title="2.1"> 2.1 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_01.html');" title="2.01"> 2.01 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0.html');" title="2.0"> 2.0 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0RC3.html');" title="2.0 RC3"> 2.0 RC3 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0RC2.html');" title="2.0 RC2"> 2.0 RC2 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0RC1.html');" title="2.0 RC1"> 2.0 RC1 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_install.html');" title="Installing FreeMarker"> Installing FreeMarker </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_legal.html');" title="Legal"> Legal </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_license.html');" title="License"> License </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_eccn.html');" title="Export Control"> Export Control </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/gloss.html');" title="Glossary"> Glossary </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/alphaidx.html');" title="Alphabetical Index"> Alphabetical Index </a> </li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<header class="book-header">
<div class="dropdown pull-right js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-globe"></i>
</a>
<div class="dropdown-menu dropdown-left">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('zh_CN')">中文</button>
</div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('en_US')">English</button>
</div>
</div>
</div>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign up" href="register.html">
<i class="fa fa-sign-in"></i> <span>注册</span>
</a>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign in" href="register.html">
<i class="fa fa-sign-in"></i>
<span>登录</span>
</a>
<a class="btn pull-left js-toolbar-action btn-summary" href="#"><i class="fa fa-align-justify"></i></a>
<div class="dropdown pull-left font-settings js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Font Settings" href="#">
<i class="fa fa-font"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-2 font-reduce">A</button>
<button class="button size-2 font-enlarge">A</button>
</div>
<div class="buttons">
<button class="button size-2 family-serif">Serif</button>
<button class="button size-2 family-sans">Sans</button>
</div>
<div class="buttons">
<button class="button size-3 theme-white">White</button>
<button class="button size-3 theme-sepia">Sepia</button>
<button class="button size-3 theme-night">Night</button>
</div>
</div>
</div>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
<div class="dropdown pull-left js-toolbar-action mobile">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-chevron-down"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<a class="button size-1" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
</div>
</div>
</div>
<div id="autocomplete" class="pull-right"></div>
<span id="toolbar-title"></span>
</header>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<section class="normal markdown-section">
<div id="content">
<h1>Apache FreeMarker 2.3.28 Manual</h1>
<div><ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-6108808167664152" data-ad-slot="6964403648"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<div><div class="divider">
<span class="divider-inner-text">Table of Contents</span>
</div>
<ul class="toc">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui.html');" title="模板作者指南"> 模板作者指南 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart.html');" title="Getting Started"> Getting Started </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart_basics.html');" title="模板数据模型=输出"> 模板数据模型=输出 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart_datamodel.html');" title="数据模型一目了然"> 数据模型一目了然 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_quickstart_template.html');" title="模板一览"> 模板一览 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_datamodel.html');" title="Values, Types"> Values, Types </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_datamodel_basics.html');" title="Basics"> Basics </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_datamodel_types.html');" title="The types"> The types </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template.html');" title="The Template"> The Template </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_overallstructure.html');" title="Overall structure"> Overall structure </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_directives.html');" title="Directives"> Directives </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_exp.html');" title="Expressions"> Expressions </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_template_valueinsertion.html');" title="Interpolations"> Interpolations </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc.html');" title="Miscellaneous"> Miscellaneous </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_userdefdir.html');" title="定义自己的指令"> 定义自己的指令 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_var.html');" title="在模板中定义变量"> 在模板中定义变量 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_namespace.html');" title="Namespaces"> Namespaces </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_autoescaping.html');" title="自动转义和输出格式"> 自动转义和输出格式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_whitespace.html');" title="White-space handling"> White-space handling </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui_misc_alternativesyntax.html');" title="替代(方括号)语法"> 替代(方括号)语法 </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui.html');" title="Programmer's Guide"> Programmer's Guide </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart.html');" title="Getting Started"> Getting Started </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_createconfiguration.html');" title="创建配置实例"> 创建配置实例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_createdatamodel.html');" title="创建一个数据模型"> 创建一个数据模型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_gettemplate.html');" title="获取模板"> 获取模板 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_merge.html');" title="将模板与数据模型合并"> 将模板与数据模型合并 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_quickstart_all.html');" title="放在一起"> 放在一起 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel.html');" title="数据模型"> 数据模型 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_basics.html');" title="Basics"> Basics </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_scalar.html');" title="Scalars"> Scalars </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_parent.html');" title="Containers"> Containers </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_method.html');" title="Methods"> Methods </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_directive.html');" title="Directives"> Directives </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_node.html');" title="Node variables"> Node variables </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_datamodel_objectWrapper.html');" title="Object wrappers"> Object wrappers </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config.html');" title="The Configuration"> The Configuration </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_basics.html');" title="Basics"> Basics </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_sharedvariables.html');" title="Shared variables"> Shared variables </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_settings.html');" title="Settings"> Settings </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_templateloading.html');" title="Template loading"> Template loading </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_errorhandling.html');" title="Error handling"> Error handling </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_templateconfigurations.html');" title="Template configurations"> Template configurations </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_outputformatsautoesc.html');" title="将输出格式与模板相关联"> 将输出格式与模板相关联 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_custom_formats.html');" title="自定义数字和日期/时间格式"> 自定义数字和日期/时间格式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_config_incompatible_improvements.html');" title="“不兼容的改进”设置"> “不兼容的改进”设置 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc.html');" title="Miscellaneous"> Miscellaneous </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_var.html');" title="Variables, scopes"> Variables, scopes </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_charset.html');" title="Charset issues"> Charset issues </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_multithreading.html');" title="Multithreading"> Multithreading </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_beanwrapper.html');" title="Bean wrapper"> Bean wrapper </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_logging.html');" title="Logging"> Logging </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_servlet.html');" title="将 FreeMarker 与 Servlet 一起使用"> 将 FreeMarker 与 Servlet 一起使用 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_secureenv.html');" title="为 FreeMarker 配置安全策略"> 为 FreeMarker 配置安全策略 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_xml_legacy.html');" title="旧版 XML 包装器实施"> 旧版 XML 包装器实施 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_ant.html');" title="将 FreeMarker 与 Ant 结合使用"> 将 FreeMarker 与 Ant 结合使用 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/pgui_misc_jythonwrapper.html');" title="Jython wrapper"> Jython wrapper </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref.html');" title="模板语言参考"> 模板语言参考 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins.html');" title="Built-in Reference"> Built-in Reference </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_alphaidx.html');" title="Alphabetical index"> Alphabetical index </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_string.html');" title="内置字符串"> 内置字符串 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_number.html');" title="内置数字"> 内置数字 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_date.html');" title="内置日期/时间/日期时间值"> 内置日期/时间/日期时间值 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_boolean.html');" title="布尔值的内置"> 布尔值的内置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_sequence.html');" title="内置序列"> 内置序列 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_hash.html');" title="内置散列"> 内置散列 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_node.html');" title="内置节点(对于 XML)"> 内置节点(对于 XML) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_loop_var.html');" title="内置循环变量"> 内置循环变量 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_type_independent.html');" title="类型独立的内置"> 类型独立的内置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_builtins_expert.html');" title="很少使用且内置 maven"> 很少使用且内置 maven </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directives.html');" title="Directive Reference"> Directive Reference </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_alphaidx.html');" title="Alphabetical index"> Alphabetical index </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_assign.html');" title="assign"> assign </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_attempt.html');" title="attempt, recover"> attempt, recover </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_autoesc.html');" title="autoesc"> autoesc </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_compress.html');" title="compress"> compress </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_escape.html');" title="逃逸，不逃逸(已弃用)"> 逃逸，不逃逸(已弃用) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_flush.html');" title="flush"> flush </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_ftl.html');" title="ftl"> ftl </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_function.html');" title="function, return"> function, return </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_global.html');" title="global"> global </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_if.html');" title="如果，否则，否则"> 如果，否则，否则 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_import.html');" title="import"> import </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_include.html');" title="include"> include </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_list.html');" title="列出，否则，项目，sep，中断，continue"> 列出，否则，项目，sep，中断，continue </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_local.html');" title="local"> local </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_macro.html');" title="宏，嵌套，返回"> 宏，嵌套，返回 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_noautoesc.html');" title="noautoesc"> noautoesc </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_noparse.html');" title="noparse"> noparse </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_nt.html');" title="nt"> nt </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_outputformat.html');" title="outputformat"> outputformat </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_setting.html');" title="setting"> setting </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_stop.html');" title="stop"> stop </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_switch.html');" title="开关，大小写，默认，中断"> 开关，大小写，默认，中断 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_t.html');" title="t，lt，rt"> t，lt，rt </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_userDefined.html');" title="用户定义的指令(<@...>)"> 用户定义的指令(&lt;@...&gt;) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_directive_visit.html');" title="访问，递归，后备"> 访问，递归，后备 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_specvar.html');" title="特殊变量参考"> 特殊变量参考 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_reservednames.html');" title="FTL 中的保留名称"> FTL 中的保留名称 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_deprecated.html');" title="不建议使用的 FTL 构造"> 不建议使用的 FTL 构造 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_directive.html');" title="不推荐使用的指令列表"> 不推荐使用的指令列表 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_builtin.html');" title="不推荐使用的内置列表"> 不推荐使用的内置列表 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_oldmacro.html');" title="旧式宏和调用指令"> 旧式宏和调用指令 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_transform.html');" title="Transform directive"> Transform directive </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_oldsyntax.html');" title="旧的 FTL 语法"> 旧的 FTL 语法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/ref_depr_numerical_interpolation.html');" title="#{...}：数值插补"> #{...}：数值插补 </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui.html');" title="XML 处理指南"> XML 处理指南 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_preface.html');" title="Preface"> Preface </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_expose.html');" title="公开 XML 文档"> 公开 XML 文档 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_expose_dom.html');" title="DOM 树"> DOM 树 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_expose_put.html');" title="将 XML 放入数据模型"> 将 XML 放入数据模型 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_imperative.html');" title="命令式 XML 处理"> 命令式 XML 处理 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_imperative_learn.html');" title="Basics"> Basics </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_imperative_formal.html');" title="Details"> Details </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_declarative.html');" title="声明式 XML 处理"> 声明式 XML 处理 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_declarative_basics.html');" title="Basics"> Basics </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/xgui_declarative_details.html');" title="Details"> Details </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app.html');" title="Appendixes"> Appendixes </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_faq.html');" title="FAQ"> FAQ </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_versions.html');" title="Version history"> Version history </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_30.html');" title="2.3.30"> 2.3.30 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_29.html');" title="2.3.29"> 2.3.29 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_28.html');" title="2.3.28"> 2.3.28 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_27.html');" title="2.3.27 (在 Apache 孵化)"> 2.3.27 (在 Apache 孵化) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_26.html');" title="2.3.26 (在 Apache 孵化)"> 2.3.26 (在 Apache 孵化) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_25.html');" title="2.3.25 (在 Apache 孵化)"> 2.3.25 (在 Apache 孵化) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_24.html');" title="2.3.24 (在 Apache 孵化)"> 2.3.24 (在 Apache 孵化) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_23.html');" title="2.3.23"> 2.3.23 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_22.html');" title="2.3.22"> 2.3.22 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_21.html');" title="2.3.21"> 2.3.21 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_20.html');" title="2.3.20"> 2.3.20 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_19.html');" title="2.3.19"> 2.3.19 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_18.html');" title="2.3.18"> 2.3.18 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_17.html');" title="2.3.17"> 2.3.17 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_16.html');" title="2.3.16"> 2.3.16 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_15.html');" title="2.3.15"> 2.3.15 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_14.html');" title="2.3.14"> 2.3.14 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_13.html');" title="2.3.13"> 2.3.13 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_12.html');" title="2.3.12"> 2.3.12 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_11.html');" title="2.3.11"> 2.3.11 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_10.html');" title="2.3.10"> 2.3.10 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_9.html');" title="2.3.9"> 2.3.9 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_8.html');" title="2.3.8"> 2.3.8 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_7.html');" title="2.3.7"> 2.3.7 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_7rc1.html');" title="2.3.7 RC1"> 2.3.7 RC1 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_6.html');" title="2.3.6"> 2.3.6 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_5.html');" title="2.3.5"> 2.3.5 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_4.html');" title="2.3.4"> 2.3.4 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_3.html');" title="2.3.3"> 2.3.3 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_2.html');" title="2.3.2"> 2.3.2 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3_1.html');" title="2.3.1"> 2.3.1 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_3.html');" title="2.3"> 2.3 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_8.html');" title="2.2.8"> 2.2.8 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_7.html');" title="2.2.7"> 2.2.7 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_6.html');" title="2.2.6"> 2.2.6 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_5.html');" title="2.2.5"> 2.2.5 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_4.html');" title="2.2.4"> 2.2.4 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_3.html');" title="2.2.3"> 2.2.3 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_2.html');" title="2.2.2"> 2.2.2 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2_1.html');" title="2.2.1"> 2.2.1 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_2.html');" title="2.2"> 2.2 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_5.html');" title="2.1.5"> 2.1.5 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_4.html');" title="2.1.4"> 2.1.4 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_3.html');" title="2.1.3"> 2.1.3 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_2.html');" title="2.1.2"> 2.1.2 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1_1.html');" title="2.1.1"> 2.1.1 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_1.html');" title="2.1"> 2.1 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_01.html');" title="2.01"> 2.01 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0.html');" title="2.0"> 2.0 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0RC3.html');" title="2.0 RC3"> 2.0 RC3 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0RC2.html');" title="2.0 RC2"> 2.0 RC2 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/versions_2_0RC1.html');" title="2.0 RC1"> 2.0 RC1 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_install.html');" title="Installing FreeMarker"> Installing FreeMarker </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_legal.html');" title="Legal"> Legal </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_license.html');" title="License"> License </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/app_eccn.html');" title="Export Control"> Export Control </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/gloss.html');" title="Glossary"> Glossary </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/alphaidx.html');" title="Alphabetical Index"> Alphabetical Index </a> </li>
</ul></div>
</div>
</section>
<div class="right-sidebar">
<div class="affix"><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6108808167664152" data-ad-slot="3102929424" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
</div>
</div>
<div class="ft">
<a href="#toolbar-title" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a>
<footer class="footer">
<div class="footer__container--normal">
<img alt="扫码关注公众号" title="扫码关注公众号" src="static/picture/qr-code.png" width="170" height="170">
<div class="footer__description--normal">
<p class="paragraph footer__author--normal">Docs4dev<sup class="super">&#xAE;</sup>
</p>
<p class="paragraph footer__quote&#45;&#45;normal">
如果你在使用过程中遇到任何问题，可以在 <a href="javascript:window.open('https://github.com/docs4dev/docs4dev-issues');" target="_blank" rel="noopener noreferrer">这里<i class="fa fa-external-link"></i></a> 提issue。
</p>
<div class="footer__main--normal">
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
<a href="javascript:window.open('https://beian.miit.gov.cn/');">
蜀ICP备14021783号-6
</a>
</p>
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
Copyright &#xA9; Docs4dev all
right reserved, powered by <a href="index2.html" target="_blank">Docs4dev</a></p>
</div>
</div>
</div>
<div class="box__issues">
</div>
</footer>
</div>
</div>
</div>
<a href="javascript:window.open('https://www.docs4dev.com/docs/zh/freemarker/2.3.28/reference/dgui.html');" class="navigation navigation-next navigation-unique">
<i class="fa fa-angle-right"></i>
</a>
</div>
</div>
<script>
  var hasToc = true;
  /*  var downloadable = /!*false*!/ false;
    var editable = /!*false*!/ false;
    var code = /!*"freemarker"*!/ false;
    var version = /!*"2.3.28"*!/ false;
    var type = /!*"reference"*!/ false;
    var lang = /!*"zh"*!/ 'en';
    //edit link
    require(["gitbook", "jQuery"], function (gitbook, $) {
      gitbook.events.bind('start', function (e, config) {
        // Add edit toolbar to left
        var chapterId = /!*24805*!/ 0;
        if (downloadable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-download',
            text: '下载',
            onClick: function () {
              window.open('/download?code=' + code + '&version=' + version + '&type=' + type + '&lang=' + lang);
            }
          });
        }
        if (editable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-edit',
            text: '编辑此页',
            onClick: function () {
              window.open('/docs/edit?chapterId=' + chapterId + '&lang=' + lang);
            }
          });
        }
      });
    });*/
</script>
<script>
    var code = "freemarker";
    var lang = "zh";
  </script>

<script src="static/js/autocomplete-js.js"></script>
<script src="static/js/app.min.js"></script>
<script src="static/js/search.min.js"></script>
</body>
</html>
